Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Router contract #37

Closed
wants to merge 21 commits into from
Closed

Adding Router contract #37

wants to merge 21 commits into from

Conversation

dimpar
Copy link
Member

@dimpar dimpar commented Nov 20, 2023

WIP

Based on the following System Design:
Screenshot 2023-11-20 at 16 49 15

This lib adds solmate lib that is used in ERC4626 contracts.
Only some of the contracts were copied and pasted just for Acre needs.
In Acre project we use HH with yarn manager and this is why the path to
solmate's library in node_modules had to be changed. Added only `/src` to the path.
The rest of the code was unchanged and is based on 643cd04 commit from the
following repo: https://github.com/ERC4626-Alliance/ERC4626-Contracts
We will have a set of Allocator conract addresses. Only Acre manager can
add or remove an allocator address. Only owner can add a manager.

Added `allocate` and `collect` function placeholder for further
development.
@dimpar dimpar changed the base branch from main to acre-flow November 23, 2023 15:40
@dimpar dimpar changed the base branch from acre-flow to erc4626-contracts November 23, 2023 15:41
@dimpar dimpar changed the base branch from erc4626-contracts to main November 23, 2023 15:42
dimpar and others added 12 commits November 24, 2023 12:10
Define pre-commit hooks for core package.

Co-authored-by: Rafal Czajkowski <[email protected]>
When configuring the hooks we may want to test them before pushing.
This is an initial implementation of the CI process to check formatting
in `website` workspace.

Co-authored-by: Rafal Czajkowski <[email protected]>
This is an initial implementation of the CI process to check formatting
in `dapp` workspace.
@dimpar dimpar self-assigned this Nov 24, 2023
@dimpar dimpar added the 🔗 Solidity Solidity contracts label Nov 24, 2023
@dimpar
Copy link
Member Author

dimpar commented Nov 30, 2023

Closing this PR and continue work in #53

@dimpar dimpar closed this Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔗 Solidity Solidity contracts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants